﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Webtest.Models
{
    public class Employee: Customer
    {
  
        public DateTime StartDate {get; set;}
        public override decimal Total()
        {
            decimal newTotal = base.Total();
          return newTotal * (decimal)0.75;
        }
        public Employee(int id, DateTime start)
        {
            ID = id;
            StartDate = start;
        }
    }
}